package com.x.provider.api.general.model.dto.cms;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ContentDTO {
    private Long id;
    private Integer itemType;
    private Long customerId;
    private String title;
    private Boolean reviewed;
    private Integer status;
    private Boolean top;
    private Long topValue;
    private String topicIds;
    private String titleJson;
    private String coverFileId;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdOnUtc;

    private List<ContentMediaDTO> contentMediaList;

}
